﻿using System.Collections.Generic;
using System.Runtime.Serialization;
using MyFloridaHouse.libSvDTO;

namespace MyFloridaHouse.libSTO
{
	/// <summary>
	/// District Plan Type STO (server transfer object)
	/// </summary>
    [DataContract]
    public class DistrictPlanTypeSTO
    {
        DistrictPlanTypeListDTO _dummyRecord;
        byte[] _packedDataList;
        string _errorMessage;

		/// <summary>
		/// Initializes a new instance of the <see cref="DistrictPlanTypeSTO"/> class.
		/// </summary>
        public DistrictPlanTypeSTO()
        {
            _dummyRecord = new DistrictPlanTypeListDTO();
            _packedDataList = new byte[0];
            _errorMessage = "";
        }

        /// <summary>
        /// Provides reference to: <see cref="DistrictPlanTypeDTO"/>.
        ///   so it will be included in the service wsdl
        /// </summary>
        /// <value>The District Plan Type structure.</value>
        [DataMember]
        public DistrictPlanTypeListDTO dummyRecord
        {
            get { return _dummyRecord; }
            set { _dummyRecord = value; }
        }

        /// <summary>
        /// Gets or sets the list of: <see cref="DistrictPlanTypeDTO"/>.
        /// </summary>
        /// <value>The data list.</value>
        [DataMember]
        public byte[] packedDataList
        {
            get { return _packedDataList; }
            set { _packedDataList = value; }
        }

		/// <summary>
		/// Gets or sets the error message.
		/// </summary>
		/// <value>The error message.</value>
        [DataMember]
        public string errorMessage
        {
            get { return _errorMessage; }
            set { _errorMessage = value; }
        }
    }
}
